// 这里的请求和用户相关
import request from "@/utils/request";

export const registerApi = (obj) => {
  return request.post("/user/register", obj);
};

export const loginApi = (data) => {
  return request.post("/user/login", data);
};
